<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>蛋仔派对 - 小游戏</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="game-container">
        <div class="game-header">
            <h1>🥚 蛋仔派对 🥚</h1>
            <div class="game-stats">
                <span id="score">得分: 0</span>
                <span id="level">关卡: 1</span>
                <span id="lives">生命: ❤️❤️❤️</span>
            </div>
        </div>
        
        <canvas id="gameCanvas" width="800" height="600"></canvas>
        
        <div class="game-controls">
            <button id="startBtn">开始游戏</button>
            <button id="pauseBtn">暂停</button>
            <button id="restartBtn">重新开始</button>
        </div>
        
        <div class="instructions">
            <h3>游戏说明:</h3>
            <p>使用 ← → 键控制蛋仔移动</p>
            <p>使用 ↑ 键跳跃</p>
            <p>躲避障碍物，收集星星获得分数!</p>
        </div>
    </div>
    
    <script src="game.js"></script>
</body>
</html>